package cn.lhl01.sys.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 客户端请求日志
 * </p>
 *
 * @author lhl
 * @since 2023-02-21
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_client_request_logs")
public class ClientRequestLogs implements Serializable {

	private static final long serialVersionUID = 1L;

	@TableId(value = "id", type = IdType.AUTO)
	private Long id;

	@TableField("saved_on")
	private Date savedOn;

	@TableField("thread_id")
	private String threadId;

	@TableField("sid")
	private String sid;

	@TableField("started_on")
	private Date startedOn;

	@TableField("completed_on")
	private Date completedOn;

	@TableField("is_success")
	private String isSuccess;

	@TableField("error")
	private String error;

	@TableField("business_proccess_time")
	private Long businessProccessTime;

	@TableField("client_request_sn")
	private String clientRequestSn;

	@TableField("uuid")
	private String uuid;

	@TableField("ipaddr")
	private String ipaddr;

	/**
	 * 秘钥名称
	 */
	@TableField("key_name")
	private String keyName;
}
